package com.css.zfzx.fxpg.modules.preestimate.result.repository;

import com.css.zfzx.fxpg.modules.preestimate.result.repository.entity.FxPreestimateResultEntity;
import com.css.zfzx.fxpg.modules.preestimate.result.viewobjects.FxPreestimateResultQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author leon
 * @date 2020-11-19
 */
public interface FxPreestimateResultNativeRepository {

    Page<FxPreestimateResultEntity> queryFxPreestimateResults(FxPreestimateResultQueryParams queryParams, int curPage, int pageSize);

    List<FxPreestimateResultEntity> listFxRiskResults(FxPreestimateResultQueryParams queryParams);

    List<FxPreestimateResultEntity> getFxPreestimateResults(FxPreestimateResultQueryParams queryParams);

    Page<FxPreestimateResultEntity> querySpatialLocation(FxPreestimateResultQueryParams queryParams, int curPage, int pageSize);

    Page<FxPreestimateResultEntity> querySpatialLocationByBoundary(FxPreestimateResultQueryParams queryParams, int curPage, int pageSize);
}
